
//
var 爱心 = "#fEffect/CharacterEff/1022223/4/0#";
var 礼包物品 = "#v1302000#";
var add = "#fEffect/CharacterEff/1112903/0/0#"; //红桃心
var aaa = "#fUI/UIWindow.img/Quest/icon9/0#"; //红色右箭头
var zzz = "#fUI/UIWindow.img/Quest/icon8/0#"; //蓝色右箭头
var sss = "#fUI/UIWindow.img/QuestIcon/3/0#"; //选择道具
var 正方箭头 = "#fUI/Basic/BtHide3/mouseOver/0#";
var 感叹号 = "#fUI/UIWindow/Quest/icon0#";
var 美化new = "#fUI/UIWindow/Quest/icon5/1#";
var 红色箭头 = "#fEffect/CharacterEff/1112908/0/1#"; //彩光3
var ttt1 = "#fEffect/CharacterEff/1062114/1/0#"; //爱心
var 蓝色角点 = "#fUI/UIWindow.img/PvP/Scroll/enabled/next2#";
var 正方箭头 = "#fUI/Basic/BtHide3/mouseOver/0#";
var 爱心 = "#fEffect/CharacterEff/1022223/4/0#";
var 粉爱心 = "#fItem/Etc/0427/04270005/Icon8/1#"; //
var 菊花 = "#fUI/PredictHarmony/card/19#"; //卡片效果菊花
var 笑 = "#fUI/GuildBBS/GuildBBS/Emoticon/Basic/0#"; //笑脸
var 金枫叶 = "#fMap/MapHelper/weather/maple/2#";
var 红枫叶 = "#fMap/MapHelper/weather/maple/1#";
var 巫女 = "#fMap/MapHelper/weather/witch/0#"; //巫女
var 气球 = "#fMap/MapHelper/weather/balloon/4#"; //气球
var 射箭 = "#fMap/MapHelper/weather/LoveEffect2/4/0#"; //射箭
var 玫瑰 = "#fMap/MapHelper/weather/rose/0#"; //玫瑰花
var 烟花 = "#fMap/MapHelper/weather/squib/squib1/3#"; //烟花

var 大粉红爱心 = "#fItem/Etc/0427/04270001/Icon8/4#"; //
var 小粉红爱心 = "#fItem/Etc/0427/04270001/Icon8/5#"; //
var 小黄星 = "#fItem/Etc/0427/04270001/Icon9/0#"; //
var 大黄星 = "#fItem/Etc/0427/04270001/Icon9/1#"; //
var 小水滴 = "#fItem/Etc/0427/04270001/Icon10/5#"; //
var 大水滴 = "#fItem/Etc/0427/04270001/Icon10/4#"; //
var tz = "#fEffect/CharacterEff/1082565/4/0#"; //粉兔子
var tz1 = "#fEffect/CharacterEff/1082565/0/0#"; //橙兔子
var tz2 = "#fEffect/CharacterEff/1082565/2/0#"; //蓝兔子
var 邪恶小兔 = "#fItem/Etc/0427/04270001/Icon10/5#"; //邪恶小兔 【小】
var 邪恶小兔2 = "#fEffect/CharacterEff/1112960/3/1#"; //邪恶小兔 【大】
var 花草 = "#fEffect/SetEff/208/effect/walk2/4#";
var 花草1 = "#fEffect/SetEff/208/effect/walk2/3#";
var 小花 = "#fMap/MapHelper/weather/birthday/2#";
var 桃花 = "#fMap/MapHelper/weather/rose/4#";
var 银杏叶 = "#fMap/MapHelper/weather/maple/3#";
var 小烟花 = "#fMap/MapHelper/weather/squib/squib4/1#";
var 星星 = "#fMap/MapHelper/weather/witch/3#";
var text = "";
var status = 0;


//把名字填在下面就可以了
var 女生名字 = [
    ["CongMS"]
];


function start() {
    status = -1;
    action(1, 0, 0);
}


function action(mode, type, selection) {
    if (mode == -1) {
        cm.dispose();
    } else {
        if (mode == 1) {
            status++;
        } else {
            status--;
        }
        //
        if (status == -1) {
            cm.dispose();
        } else if (status == 0) {
            text = "\r\n #k┏" + 银杏叶 + "━━━━━━━━女生认证福利━━━━━━━━" + 银杏叶 + "┓#k\r\n";
            text += "                #L0#" + 大粉红爱心 + "领取认证奖励" + 大粉红爱心 + "#l\r\n";
            text += "                #L2#" + 大粉红爱心 + "领取认证勋章" + 大粉红爱心 + "#l\r\n";
            text += "                #L1#" + 大粉红爱心 + "领取每日奖励" + 大粉红爱心 + "#l\r\n\r\n";
            text += "#b女神认证奖励#k:#v5150040#x50/#v5152001#x1/#v4310154#x50..\r\n";
            text += "#b每日奖励#k:#v5150040#x5/#v4310154#x20/抵用卷2000-金币10W\r\n联系群主进行认证,当前认证女生:\r\n";
            for (var i = 0; i < 女生名字.length; i++) {
                text += "\r\n[" + 女生名字[i][0] + "]"
            }
            text += "\r\n#k┗" + 银杏叶 + "━━━━━━━━━━━━━━━━━━━━━━" + 银杏叶 + "┛#k";
            text += "\r\n\r\n     #d#e· 阔别十年 · 重温冒险 · 再续情怀 · "
            cm.sendSimple(text);
        } else if (status == 1) {
            是否是女生 = false;
            for (var i = 0; i < 女生名字.length; i++) {
                if (女生名字[i][0] == cm.getPlayer().getName()) {
                    是否是女生 = true;
                    break;
                }
            }
            //
            if (是否是女生 == false) {
                cm.sendOk("对不起,您还没有认证,请私密群主进行女生认证!\r\n");
                cm.dispose();
                return;
            }
            if (selection == 0) {
                if (cm.getPlayer().getOneTimeLog("女生奖励") >= 1) {
                    cm.sendOk("对不起,已经领取过了!\r\n");
                    cm.dispose();
                    return;
                }
                //
                cm.getPlayer().setOneTimeLog("女生奖励");
                //
                cm.gainItem(5150038, 1);
                cm.gainItem(5150040, 20);
                cm.gainItem(4310154, 50);
                //
                cm.sendOk("领取成功!\r\n");
                cm.dispose();
                return;
                //
                //
                //
                //
                //
                //
                //
                //
                //
                //
                //
                //
            } else if (selection == 2) {
                if (cm.getPlayer().getOneTimeLog("女生奖励22") >= 1) {
                    cm.sendOk("对不起,已经领取过了!\r\n");
                    cm.dispose();
                    return;
                }
                //
                cm.getPlayer().setOneTimeLog("女生奖励22");
                //
                cm.gainItem(5150038, 1);
                cm.gainItem(1112602, 7, 7, 7, 7, 700, 700, 7, 9, 0, 0, 0, 0, 0, 0);
                //cm.gainItem(5150040, 20);
                //
                cm.sendOk("领取成功!\r\n");
                cm.dispose();
                return;
            } else if (selection == 1) {
                if (cm.getBossLog("每日女生奖励") < 1) {
                    cm.sendOk("对不起,今日已经领取过了!\r\n");
                    cm.dispose();
                    return;
                }
                //
                cm.setBossLog("女神每日福利");
                //
               	cm.gainNX(5000);//1
                cm.gainMeso(100000);//给金币
                cm.gainItem(5150040, 5);
                cm.gainItem(4310154, 20);
                //
                cm.sendOk("领取成功!\r\n");
                cm.dispose();
                return;
                //
                //
                //
                //
                cm.dispose();				
            } else if (selection == 2) {
                cm.dispose();
            }
        } else if (status == 2) {

        }
        //


    }
}